<html>
<body>
<div id="div1">
<p>Paragraph 1.</p>
<p>Paragraph 2.</p>
</div>

<script>
var para=document.createElement();
var node=document.createTextNode("This is New");
para.appendChild(node);

var element=document.getElementById("div1");
element.appendChild(para);

</script>
</body>
</html>